package com.weishi.project.training.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.weishi.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 【请填写功能名称】
 */
@Data
@TableName("tbl_training_location")
public class TrainingLocation implements Serializable {
    private static final long serialVersionUID = 1L;

    /** PK */
    private Integer id;
    
    @Excel(name = "名称")
    private String name;

    @Excel(name = "省")
    private String province;
    
    /** 市 */
    @Excel(name = "市")
    private String city;
    
    /** 县/区 */
    @Excel(name = "县/区")
    private String county;
    
    /** 地点 */
    @Excel(name = "地点")
    private String venue;
    
    /** 类型 1、比赛地址 2、训练地址 */
    @Excel(name = "类型 1、比赛地址 2、训练地址")
    private Integer type;
    
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    @Excel(name = "经度")
    private Double lng;

    @Excel(name = "纬度")
    private Double lat;

    /** 次数 */
    @TableField(exist = false)
    private int locationCount;

    /** 周期数 */
    @TableField(exist = false)
    private int weekCount;
    
}